package com.sunshine.spring.output;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author: WeiHong
 * @Date: 2017/3/16 10:23
 */
public class App {
    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("/spring/bean.xml");
        OutputHelper outputHelper = (OutputHelper) ctx.getBean("outputHelper");
        outputHelper.generatorOutput();
    }
}
